package evq.codec.core.entities;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

public class Quanta implements Iterable<Quantum> {

	protected List<Quantum> quanta = new ArrayList<Quantum>();
	
	public Quanta() {
	
	}

	public void addQuantum(Quantum quantum) {
		this.quanta.add(quantum);
	}
	
	public int size() {
		return this.quanta.size();
	}
	
	public Iterator<Quantum> iterator() {
		return this.quanta.iterator();
	}
	
}
